package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.dto.PageDTO;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.query.UserQuery;
import com.itheima.mp.domain.vo.UserVO;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IUserService extends IService<User>  {
    void reductionUserById(Long id, Float amount);

    UserVO getUserInfoAndAddressInfo(Long id);

    List<UserVO> queryListUser(List<Long> ids);

    PageDTO<UserVO> getFixUserQuery(UserQuery userQuery);
}
